import request from '@/utils/request'

// 查询累计回灌量列表
export function listTotal_reflow(query) {
  return request({
    url: '/dr/total_reflow/list',
    method: 'get',
    params: query
  })
}

// 查询累计回灌量详细
export function getTotal_reflow(id) {
  return request({
    url: '/dr/total_reflow/' + id,
    method: 'get'
  })
}

// 新增累计回灌量
export function addTotal_reflow(data) {
  return request({
    url: '/dr/total_reflow',
    method: 'post',
    data: data
  })
}

// 修改累计回灌量
export function updateTotal_reflow(data) {
  return request({
    url: '/dr/total_reflow',
    method: 'put',
    data: data
  })
}

// 删除累计回灌量
export function delTotal_reflow(id) {
  return request({
    url: '/dr/total_reflow/' + id,
    method: 'delete'
  })
}
